package com.shoulder.boot.acl.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

/**
* 用户角色表
*
* @author 596767880@qq.com
* @since 2024-01-05 21:04:16
*/
@Data
@Accessors(chain = true)
@TableName("acl_user_role")
public class UserRole {

    /**
    * id
    */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    /**
    * 用户id
    */
    @TableField("user_id")
    private String userId;
    /**
    * 角色id
    */
    @TableField("role_id")
    private String roleId;
}